import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import Inputbox from "./components/Inputbox";
import TodoListBox from './components/TodoListBox';

class App extends Component {
  receiveMessage(message){
    console.log(message)
  }

  render() {
    return (
      <div className="App">
        <Inputbox placeholder="请输入todo名称"
        sendMessage={this.receiveMessage}/>
        <TodoListBox/>
      </div>
    );
  }
}
export default App;





